<div class="layout_c2b_b">
  <!--S 提示-->
  <div class="tips_2" id="fri_tips" style="">
    <p class="text" id="fri_tips_txt" style="width:600px">以下是你的全部好友，包括所有加入城市达人的QQ好友和互相关注的达人好友。<a href="/user/privacy.htm">设置谁能加你为好友</a></p>
    <button class="c_1 close" title="取消提示" onclick="hide(Fid('fri_tips'))">×<span>关闭</span></button>
  </div>
  <!--E 提示-->
  <!--S 好友列表-->
  <div class="mod friend_mod" id="my_friend_mod">
    <!--S 按钮-->
    <div class="btn bor_b_1" id="import_btns" style="display: none; ">
      <button onclick="hiddenSet()" onfocus="this.blur()">QQ好友设置</button>
      <button onclick="location.href='/user/invite.htm'" onfocus="this.blur()">邀请好友注册</button>
    </div>
    <!--E 按钮-->
    <div id="userlist" class="">
      <% for friend in @friends %>
      <div class="friend_list_com bor_b_4" id="friend_<%= friend[:id] %>" onmouseover="lihoverUser(<%= friend[:id] %>)" onmouseout="lihoutUser(<%= friend[:id] %>)">
        <div class="photo">
          <%= link_to (image_tag member_small_avatar_url(friend), :alt=>"微笑宝贝"), "/home/space/#{friend[:id]}", :class=>"user_img_3", :title=>"#{friend[:nick]}"%>
        </div>
        <div class="info">
          <p><%= link_to friend[:nick], "/home/space/#{friend[:id]}"%></p>
          <p class="c_2"><%= friend[:sex] %>、<%= Member.age friend[:birthday] if friend[:birthday]%>岁、<%= astro(friend[:birthday]) if friend[:birthday]%>、在重庆-九龙坡</p>
        </div>
        <div class="pro_operate">
          <ul class="btns">
            <li class="bor_r_1">
              <button class="friend_group c_6" id="gbtn_954567456" onfocus="this.blur()">
                <span id="ugn_954567456">达人好友</span>
                <%= image_tag "icon.gif", :alt=>"好友分组", :title=>"好友分组", :class=>"icon_more_tag2"%>
              </button>
              <ul class="choose_type" id="glist_954567456" style="display:none"></ul>
            </li>
            <li class="bor_r_1">
              <button class="open_state c_6" id="obtn_954567456" onfocus="this.blur()">
                <span id="uon_954567456">公开</span>
                <%= image_tag "icon.gif", :alt=>"公开状态", :title=>"公开状态", :class=>"icon_more_tag2"%>
              </button>
              <ul class="choose_type" id="olist_954567456" style="display:none"></ul>
            </li>
            <li class="btns">
              <button onclick="location.href='/friendships/<%= friend[:id] %>?_method=delete'" onfocus="this.blur()">
                <span class="none">解除关系</span>
                <%= image_tag "icon.gif", :alt=>"解除关系", :title=>"解除关系", :class=>"icon_del_friend"%>
              </button>
            </li>
          </ul>
        </div>
      </div>
      <% end %>

    </div>
    <!--S 翻页-->
    <div class="page_tags" id="pagelist" style="">
      <%= will_paginate @friendships %>
    </div>
    <!--E 翻页-->
  </div>
  <!--S 好友列表-->
</div>